#@layout()
#define main()
	<form action="#(path)/portal/dbm/customer/updateContact" class="layui-form layui-form-pane f-form" method="post">
		
		<input type="hidden" class="layui-input" name="rCustID" value="#(rCustID??)"/>
	
		<div class="layui-row layui-col-spacel task-row">
				#for(c : contacts)
						<input type="checkbox" name="contacts" value="#(c.sID)" 
						lay-skin="switch" lay-text="#(c.xName)|#(c.xName)" 
						#for(t : customerContacts)
							#if(t.rCont_ID==c.sID) checked='checked' #end
						#end  
						style="width:100">
				#end
		</div>
		#@submitButton()
		
	</form>
#end